<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>vue_if</title>
<link rel="stylesheet" href="style/">
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
	<div id="vue_app">
		<h1>v_if 条件</h1>
		<button v-on:click="error = !error">show err</button>
		<button v-on:click="succ = !succ">show succ</button>
		
		<p v-if="error"> link err 404 </p>
		<p v-else="succ"> link succ 404 </p>
		
		<p v-show="error"> link err 404 </p>
		<p v-show="succ"> link succ 404 </p>
	</div>
</body>
</html>